import request from '../http'
import requestUrl from '../requestUrl'
import requestParam from '../requestParam'
import isInteger from 'lodash/isInteger'
import axios from 'axios'

/*
添加一个学院
 */
export function addOne(params) {
  return request.post(requestUrl('/school/addOne'), params);
}
/*
编辑一个学院
 */
export function modifyOneById(params) {
  return request.post(requestUrl('/school/modifyOneById'), params);
}
/*
删除一个学院
 */
export function removeOneChain(params) {
  return request({
    url:requestUrl('school/removeOneChain/'+params),
    method:'get'
  });
}
